package student;

import student.Student;

public class CourseSession {

	private String department;
	private String number;
	private int numberOfStudents;

	public CourseSession(String department, String number) {
		this.department = department;
		this.number = number;
	}

	public String getDartment() {
		return this.department;
	}

	public String getNumber() {
		return this.number;
	}

	public int getNumberOfStudents() {
		return this.numberOfStudents;
	}

	public void enroll(Student student) {
		this.numberOfStudents++;
	}

}
